package com.qyhl.cloud.webtv.module_integral.wallet.goldcoin;

public class GlodRule {
    /**
     * 签到,发25金币.每天递增
     */
    public static final int SIGN_IN_ACTION = 1;

    /**
     * 阅读新闻.总共最多发100金币（基本限定用户行为在阅读15篇文章）
     */
    public static final int NEWS_ACTION = 2;


    /**
     * 看直播,发20金币
     */
    public static final int LIVE_ACTION = 3;

    /**
     * 评论,发20金币
     */
    public static final int COMMENT_ACTION = 4;

    /**
     * 新闻分享,发30金币
     */
    public static final int SHARE_ACTION = 5;

    /**
     * 圈子发帖,发25金币
     */
    public static final int TOPIC_ACTION = 6;

    /**
     * 圈子评论,发15金币
     */
    public static final int POST_ACTION = 7;


    /**
     * 提交报料,发15金币
     */
    public static final int REPORT_ACTION = 8;

    /**
     * 优惠卷
     */
    public static final int COUPON_ACTION = 9;

    /**
     * 金币兑换
     */
    public static final int EXCHANGE = 100;

    public static String getTitle(int type) {
        switch (type) {
            case EXCHANGE:
                return "金币兑换零钱";
            case NEWS_ACTION:
                return "阅读新闻";
            case SIGN_IN_ACTION:
                return "签到收益";
            case LIVE_ACTION:
                return "看直播收益";
            case COMMENT_ACTION:
                return "评论收益";
            case SHARE_ACTION:
                return "分享收益";
            case TOPIC_ACTION:
                return "圈子收益";
            case POST_ACTION:
                return "圈子收益";
            case REPORT_ACTION:
                return "报料问答收益";
            case COUPON_ACTION:
                return "逛优惠券";
            default:
                return "收益";
        }
    }

    public static String getDescribe(int type) {
        switch (type) {
            case EXCHANGE:
                return "主动发起金币兑换零钱";
            case NEWS_ACTION:
                return "看新闻获取金币";
            case SIGN_IN_ACTION:
                return "每日签到获取金币";
            case LIVE_ACTION:
                return "看直播获取金币";
            case COMMENT_ACTION:
                return "发评论获取金币";
            case SHARE_ACTION:
                return "分享新闻获取金币";
            case TOPIC_ACTION:
                return "圈子发帖获取金币";
            case POST_ACTION:
                return "圈子评论获取金币";
            case REPORT_ACTION:
                return "发布问答内容获取金币";
            case COUPON_ACTION:
                return "逛优惠券获取金币";
            default:
                return "获取金币";
        }
    }
}
